import { IDefault } from './IDefault';

export class StringDefault implements IDefault<string>{
  private mJsonValue: ESObject

  constructor(jsonValue: ESObject) {
    this.mJsonValue = jsonValue
  }
  asTargetType(): string {
   return String(this.mJsonValue).valueOf()
  }

  defaultValue(): string {
    return "string"
  }
}